<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>display综合案例</title>
    <style type="text/css">
        *{
            margin: 0;
            padding: 0;
            
        }
        body{
            background: url(../images/微信截图01.png);
        }
        ul{
            list-style: none;
        }
        .nav{
            width: 960px;
            height: 40px;
            margin: 100px auto;
        }
        .nav ul li{
            float: left;
            width: 120px;
            height: 40px;
            line-height: 40px;
            text-align: center;
            background: url(../images/微信截图02.png) repeat-x;
            border: 1px;
        }
        .nav ul li a:link{
            color: #000;
        }
        .nav ul li a:visited{
            text-decoration: none;
            color: white;
        }
        .nav ul li a:hover{
            background-image: url(../images/微信截图03.png);
        }
        .nav ul li a{
            width: 120px;
            height: 40px;
            display: block;
        }
    </style>
</head>
<body>
    <div class="nav">
        <ul>
            <li><a href="#">网站栏目</a></li>
            <li><a href="#">网站栏目</a></li>
            <li><a href="#">网站栏目</a></li>
            <li><a href="#">网站栏目</a></li>
            <li><a href="#">网站栏目</a></li>
            <li><a href="#">网站栏目</a></li>
            <li><a href="#">网站栏目</a></li>
            <li><a href="#">网站栏目</a></li>
        </ul>
    </div>
</body>
</html>